home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / gfx / misc / gnuplot-3.7src.lha / gnuplot-3.7src / gnuplot-3.7.lha / gnuplot-3.7 / docs / latextut / Makefile.in < prev    next >
Makefile  |  1998-07-15  |  1KB  |  57 lines

  1. # Makefile for gnuplot LaTeX tutorial
  2. # To make the manual from scratch, we run latex two times
  3.  
  4. # default target
  5. all: tutorial.dvi
  6.  
  7. # this tells GNU make not to export variables into the environment
  8. # But other makes dont understand its significance, so it must
  9. # not be the first target in the file. So it is here, before
  10. # any variables are created, but after the default target
  11. .NOEXPORT:
  12.  
  13. SHELL = /bin/sh
  14. DVIPS = dvips
  15.  
  16. srcdir = @srcdir@
  17. VPATH = @srcdir@
  18.  
  19. prefix = /usr/local
  20. exec_prefix = $(prefix)
  21. bindir = $(exec_prefix)/bin
  22. datadir = $(prefix)/lib
  23. mandir = $(prefix)/man
  24. top_builddir = .
  25. top_srcdir = @top_srcdir@
  26.  
  27.  
  28. # To touch it up after changes:
  29. remake: tutorial.dvi
  30.  
  31. tutorial.ps: tutorial.dvi
  32.  
  33. tutorial.dvi: eg1.tex eg2.tex eg3.tex eg4.tex eg5.tex eg6.tex linepoin.tex \
  34.     tutorial.tex header.tex
  35.     TEXINPUTS=.:$(srcdir): latex tutorial
  36.     TEXINPUTS=.:$(srcdir): latex tutorial
  37.  
  38. .SUFFIXES: .dvi .tex .plt .ps
  39.  
  40. .dvi.ps:
  41.     $(DVIPS) -o $@ $<
  42.  
  43. .plt.tex:
  44.     @test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/*.dat .
  45.     gnuplot $<
  46.  
  47. clean:
  48.     rm -f *.aux *.dvi *.log *.ps eg?.tex linepoin.tex
  49.     @test "$(srcdir)" = "$(top_builddir)" || rm -f eg?.dat
  50.  
  51. mostlyclean: clean
  52.  
  53. distclean: clean
  54.     rm -f Makefile
  55.  
  56. realclean: distclean
  57.